package com.yingpai.fitness.entity.dynamic;

import java.util.List;

/**
 * Created by ASUS on 2018/6/4.
 */

public class DynamicListBean {

    /**
     * result : success
     * msg : 请求成功
     * map : {"pageInfo":{"pageNum":1,"pageSize":1,"size":1,"startRow":0,"endRow":0,"total":1,"pages":1,"list":[{"id":56,"themeTitle":"四季减肥法","publisherId":28,"publisherName":"兜兜转转","publisherPhotoUrl":"http://192.168.1.100:8082/customerPhoto/36e5b898-7eec-43ed-a20e-80d6f182051etooopen_sy_201956178977.jpg","praiseNo":236,"publishLocale":"美特好超市","photoUrl":"http://192.168.3.254:8096/themePhotos/20180516/f2dff563-d752-47c3-a4d1-d378cefd1f442.jpg","publishCity":"太原市","publishTime":null}],"prePage":0,"nextPage":0,"isFirstPage":true,"isLastPage":true,"hasPreviousPage":false,"hasNextPage":false,"navigatePages":8,"navigatepageNums":[1],"navigateFirstPage":1,"navigateLastPage":1,"firstPage":1,"lastPage":1}}
     */

    private String result;
    private String msg;
    private MapBean map;

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public MapBean getMap() {
        return map;
    }

    public void setMap(MapBean map) {
        this.map = map;
    }

    public static class MapBean {
        /**
         * pageInfo : {"pageNum":1,"pageSize":1,"size":1,"startRow":0,"endRow":0,"total":1,"pages":1,"list":[{"id":56,"themeTitle":"四季减肥法","publisherId":28,"publisherName":"兜兜转转","publisherPhotoUrl":"http://192.168.1.100:8082/customerPhoto/36e5b898-7eec-43ed-a20e-80d6f182051etooopen_sy_201956178977.jpg","praiseNo":236,"publishLocale":"美特好超市","photoUrl":"http://192.168.3.254:8096/themePhotos/20180516/f2dff563-d752-47c3-a4d1-d378cefd1f442.jpg","publishCity":"太原市","publishTime":null}],"prePage":0,"nextPage":0,"isFirstPage":true,"isLastPage":true,"hasPreviousPage":false,"hasNextPage":false,"navigatePages":8,"navigatepageNums":[1],"navigateFirstPage":1,"navigateLastPage":1,"firstPage":1,"lastPage":1}
         */

        private PageInfoBean pageInfo;
        private Customer customer;

        public Customer getCustomer() {
            return customer;
        }

        public void setCustomer(Customer customer) {
            this.customer = customer;
        }

        public PageInfoBean getPageInfo() {
            return pageInfo;
        }

        public void setPageInfo(PageInfoBean pageInfo) {
            this.pageInfo = pageInfo;
        }

        public static class Customer{
            private String photoUrl;

            public String getPhotoUrl() {
                return photoUrl;
            }

            public void setPhotoUrl(String photoUrl) {
                this.photoUrl = photoUrl;
            }
        }

        public static class PageInfoBean {
            /**
             * pageNum : 1
             * pageSize : 1
             * size : 1
             * startRow : 0
             * endRow : 0
             * total : 1
             * pages : 1
             * list : [{"id":56,"themeTitle":"四季减肥法","publisherId":28,"publisherName":"兜兜转转","publisherPhotoUrl":"http://192.168.1.100:8082/customerPhoto/36e5b898-7eec-43ed-a20e-80d6f182051etooopen_sy_201956178977.jpg","praiseNo":236,"publishLocale":"美特好超市","photoUrl":"http://192.168.3.254:8096/themePhotos/20180516/f2dff563-d752-47c3-a4d1-d378cefd1f442.jpg","publishCity":"太原市","publishTime":null}]
             * prePage : 0
             * nextPage : 0
             * isFirstPage : true
             * isLastPage : true
             * hasPreviousPage : false
             * hasNextPage : false
             * navigatePages : 8
             * navigatepageNums : [1]
             * navigateFirstPage : 1
             * navigateLastPage : 1
             * firstPage : 1
             * lastPage : 1
             */

            private int pageNum;
            private int pageSize;
            private int size;
            private int startRow;
            private int endRow;
            private int total;
            private int pages;
            private int prePage;
            private int nextPage;
            private boolean isFirstPage;
            private boolean isLastPage;
            private boolean hasPreviousPage;
            private boolean hasNextPage;
            private int navigatePages;
            private int navigateFirstPage;
            private int navigateLastPage;
            private int firstPage;
            private int lastPage;
            private List<ListBean> list;
            private List<Integer> navigatepageNums;

            public int getPageNum() {
                return pageNum;
            }

            public void setPageNum(int pageNum) {
                this.pageNum = pageNum;
            }

            public int getPageSize() {
                return pageSize;
            }

            public void setPageSize(int pageSize) {
                this.pageSize = pageSize;
            }

            public int getSize() {
                return size;
            }

            public void setSize(int size) {
                this.size = size;
            }

            public int getStartRow() {
                return startRow;
            }

            public void setStartRow(int startRow) {
                this.startRow = startRow;
            }

            public int getEndRow() {
                return endRow;
            }

            public void setEndRow(int endRow) {
                this.endRow = endRow;
            }

            public int getTotal() {
                return total;
            }

            public void setTotal(int total) {
                this.total = total;
            }

            public int getPages() {
                return pages;
            }

            public void setPages(int pages) {
                this.pages = pages;
            }

            public int getPrePage() {
                return prePage;
            }

            public void setPrePage(int prePage) {
                this.prePage = prePage;
            }

            public int getNextPage() {
                return nextPage;
            }

            public void setNextPage(int nextPage) {
                this.nextPage = nextPage;
            }

            public boolean isIsFirstPage() {
                return isFirstPage;
            }

            public void setIsFirstPage(boolean isFirstPage) {
                this.isFirstPage = isFirstPage;
            }

            public boolean isIsLastPage() {
                return isLastPage;
            }

            public void setIsLastPage(boolean isLastPage) {
                this.isLastPage = isLastPage;
            }

            public boolean isHasPreviousPage() {
                return hasPreviousPage;
            }

            public void setHasPreviousPage(boolean hasPreviousPage) {
                this.hasPreviousPage = hasPreviousPage;
            }

            public boolean isHasNextPage() {
                return hasNextPage;
            }

            public void setHasNextPage(boolean hasNextPage) {
                this.hasNextPage = hasNextPage;
            }

            public int getNavigatePages() {
                return navigatePages;
            }

            public void setNavigatePages(int navigatePages) {
                this.navigatePages = navigatePages;
            }

            public int getNavigateFirstPage() {
                return navigateFirstPage;
            }

            public void setNavigateFirstPage(int navigateFirstPage) {
                this.navigateFirstPage = navigateFirstPage;
            }

            public int getNavigateLastPage() {
                return navigateLastPage;
            }

            public void setNavigateLastPage(int navigateLastPage) {
                this.navigateLastPage = navigateLastPage;
            }

            public int getFirstPage() {
                return firstPage;
            }

            public void setFirstPage(int firstPage) {
                this.firstPage = firstPage;
            }

            public int getLastPage() {
                return lastPage;
            }

            public void setLastPage(int lastPage) {
                this.lastPage = lastPage;
            }

            public List<ListBean> getList() {
                return list;
            }

            public void setList(List<ListBean> list) {
                this.list = list;
            }

            public List<Integer> getNavigatepageNums() {
                return navigatepageNums;
            }

            public void setNavigatepageNums(List<Integer> navigatepageNums) {
                this.navigatepageNums = navigatepageNums;
            }

            public static class ListBean {
                /**
                 * id : 56
                 * themeTitle : 四季减肥法
                 * publisherId : 28
                 * publisherName : 兜兜转转
                 * publisherPhotoUrl : http://192.168.1.100:8082/customerPhoto/36e5b898-7eec-43ed-a20e-80d6f182051etooopen_sy_201956178977.jpg
                 * praiseNo : 236
                 * publishLocale : 美特好超市
                 * photoUrl : http://192.168.3.254:8096/themePhotos/20180516/f2dff563-d752-47c3-a4d1-d378cefd1f442.jpg
                 * publishCity : 太原市
                 * publishTime : null
                 */

                private int id;
                private String themeTitle;
                private int publisherId;
                private String publisherName;
                private String publisherPhotoUrl;
                private int praiseNo;
                private String publishLocale;
                private String photoUrls;
                private String publishCity;
                private Object publishTime;
                private int isPraised;

                public int getIsPraised() {
                    return isPraised;
                }

                public void setIsPraised(int isPraised) {
                    this.isPraised = isPraised;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getThemeTitle() {
                    return themeTitle;
                }

                public void setThemeTitle(String themeTitle) {
                    this.themeTitle = themeTitle;
                }

                public int getPublisherId() {
                    return publisherId;
                }

                public void setPublisherId(int publisherId) {
                    this.publisherId = publisherId;
                }

                public String getPublisherName() {
                    return publisherName;
                }

                public void setPublisherName(String publisherName) {
                    this.publisherName = publisherName;
                }

                public String getPublisherPhotoUrl() {
                    return publisherPhotoUrl;
                }

                public void setPublisherPhotoUrl(String publisherPhotoUrl) {
                    this.publisherPhotoUrl = publisherPhotoUrl;
                }

                public int getPraiseNo() {
                    return praiseNo;
                }

                public void setPraiseNo(int praiseNo) {
                    this.praiseNo = praiseNo;
                }

                public String getPublishLocale() {
                    return publishLocale;
                }

                public void setPublishLocale(String publishLocale) {
                    this.publishLocale = publishLocale;
                }

                public String getPhotoUrl() {
                    return photoUrls;
                }

                public void setPhotoUrl(String photoUrls) {
                    this.photoUrls = photoUrls;
                }

                public String getPublishCity() {
                    return publishCity;
                }

                public void setPublishCity(String publishCity) {
                    this.publishCity = publishCity;
                }

                public Object getPublishTime() {
                    return publishTime;
                }

                public void setPublishTime(Object publishTime) {
                    this.publishTime = publishTime;
                }
            }
        }
    }
}
